import Vue from 'vue'
import App from './App.vue'
//导入路由
import router from './router/router';
// 导入Vuex
import store from '@/store/index.js';
// 导入elementUI
import ElementUI from 'element-ui';
// elementUI css
import 'element-ui/lib/theme-chalk/index.css';
// echarts
const echarts = require('echarts');

// 注册
Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
